package com.imgo.max.fans.dao;

import org.apache.ibatis.annotations.Param;

import com.imgo.max.artist.dto.CancelCollectHisDto;
import com.imgo.max.fans.mapping.CancelCollectHis;

public interface CancelCollectHisDao {
	int deleteByPrimaryKey(Long id);

	int insertSelective(CancelCollectHis record);

	CancelCollectHis selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(CancelCollectHis record);

	int updateByPrimaryKey(CancelCollectHis record);

	// 后台取消关注,记录到历史表中
	Integer insertCancelCollectHis(@Param("cancelCollectHis") CancelCollectHis cancelCollectHis);

	// 后台取消关注,记录到历史表中
	Integer insertCancelCollectHisByDto(@Param("condition") CancelCollectHisDto cancelCollectHisDto);
}